package apiwork.lcbmi.fillers;

import com.opensymphony.xwork2.util.ValueStack;

public class DefaultFiller implements Filler {
	private ValueStack stack;
	private String expression;
	
	public DefaultFiller(){};
    
	public void fillin(Object action) {
        try {
//        	System.out.println("findvalue("+expression+")"+stack.findValue(expression));
            stack.findValue(expression);
        } catch (Exception e) {
//        	e.printStackTrace();
        }
	}

	public void setExpression(String expression) {
        this.expression = expression;
    }

    public String getExpression() {
        return expression;
    }

	public void setValueStack(ValueStack stack) {
		this.stack = stack;
	}
}
